﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SMS.Entities;

namespace SMS.Web.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISalesManService" in both code and config file together.
    [ServiceContract(Namespace = "")]
    public interface ISalesManService
    {
        [OperationContract]
        List<SMS.Entities.SalesManDetail> SearchSalesMan(string userName, string searchText, out SMSException serviceError);

        [OperationContract]
        int SaveSalesMan(string userName, Entities.SalesManDetail salesman, out Entities.SMSException serviceError);
    }
}
